var UserSearchBox = {
    id_search_user_name: 'search_user_name',
    id_search_user_submitbtn: 'search_user_submitbtn',
    id_search_results_div: 'search_results_div',
    id_search_waiter: 'search_waiter',
    
    init: function() {
	
    },
    
    search: function() {
	document.getElementById(UserSearchBox.id_search_user_name).style.disabled = true;
	document.getElementById(UserSearchBox.id_search_user_submitbtn).style.disabled = true;
	EMDE.showElementById(UserSearchBox.id_search_waiter);
    },
    
    callback: function(html) {
	document.getElementById(UserSearchBox.id_search_user_name).style.disabled = false;
	document.getElementById(UserSearchBox.id_search_user_submitbtn).style.disabled = false;
	EMDE.hideElementById(UserSearchBox.id_search_waiter);
	document.getElementById(UserSearchBox.id_search_results_div).innerHTML = html;
    }
};